﻿//using System;
//using System.Collections.Generic;
//using System.ComponentModel;
//using System.Data;
//using System.Drawing;
//using System.Linq;
//using System.Text;
//using System.Windows.Forms;

//namespace Chord_Sheet_Add_in_for_Word_2007
//{
//    public partial class ChordsWithHyperlinksErrorForm : Form
//    {
//        public ChordsWithHyperlinksErrorForm()
//        {
//            InitializeComponent();

//            foreach (Control control in removeHyperlinksPanel.Controls)
//            {
//                control.Click += removeHyperlinksPanel_Click;
//                control.MouseEnter += removeHyperlinksPanel_MouseEnter;
//                control.MouseLeave += removeHyperlinksPanel_MouseLeave;
//            }

//            foreach (Control control in cancelPanel.Controls)
//            {
//                control.Click += cancelPanel_Click;
//                control.MouseEnter += cancelPanel_MouseEnter;
//                control.MouseLeave += cancelPanel_MouseLeave;
//            }

//        }

//        #region Remove Hyperlinks Button

//        private void removeHyperlinksPanel_MouseEnter(object sender, EventArgs e)
//        {
//            removeHyperlinksPanel.BorderStyle = BorderStyle.FixedSingle;
//        }

//        private void removeHyperlinksPanel_MouseLeave(object sender, EventArgs e)
//        {
//            removeHyperlinksPanel.BorderStyle = BorderStyle.None;
//        }

//        private void removeHyperlinksPanel_Click(object sender, EventArgs e)
//        {
//            this.DialogResult = DialogResult.OK;
//            this.Close();
//        }

//        #endregion

//        #region Cancel Button

//        private void cancelPanel_MouseEnter(object sender, EventArgs e)
//        {
//            cancelPanel.BorderStyle = BorderStyle.FixedSingle;
//        }

//        private void cancelPanel_MouseLeave(object sender, EventArgs e)
//        {
//            cancelPanel.BorderStyle = BorderStyle.None;
//        }

//        private void cancelPanel_Click(object sender, EventArgs e)
//        {
//            this.DialogResult = DialogResult.Cancel;
//            this.Close();
//        }
        
//        #endregion

//    }
//}
